-
-
Notifications
You must be signed in to change notification settings - Fork 312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Echo a message on setting PKG_CONFIG_PATH #1172
Echo a message on setting PKG_CONFIG_PATH #1172
Conversation
Similar to the message added to third-party/svt.cmd in commit 1a1b4d4.
@farindk Dirk: Please review. Would you like me to add the message to other third_party/*.cmd files? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The general approach looks fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems OK. I didn't check the paths.
echo "" | ||
echo "----- NOTE ----" | ||
echo "Please add the path to the pkg-config file to your PKG_CONFIG_PATH, like this:" | ||
echo "export PKG_CONFIG_PATH=\$PKG_CONFIG_PATH:$(pwd)/aom/dist/lib/pkgconfig" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This path works on all platforms.
echo "" | ||
echo "----- NOTE ----" | ||
echo "Please add the path to the pkg-config file to your PKG_CONFIG_PATH, like this:" | ||
echo "export PKG_CONFIG_PATH=\$PKG_CONFIG_PATH:$(pwd)/dav1d/dist/lib/x86_64-linux-gnu/pkgconfig" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Brad,
I copied this path from the comment at line 4. This path will only work on Linux x86_64. I can clarify that in the message. How about this?
Please add the path to the pkg-config file to your PKG_CONFIG_PATH. For example, on Linux x86_64, run:
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$(pwd)/dav1d/dist/lib/x86_64-linux-gnu/pkgconfig
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That seems better.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@farindk Dirk: Please review. Thanks! |
Thank you @wantehchang and @bradh |
Similar to the message added to third-party/svt.cmd in commit 1a1b4d4.